package Class_03_15;

public class Fruit {
    Float weight;
    String color;

    public Fruit() {
    }

    public Fruit(float weight, String color) {
        this.weight = weight;
        this.color = color;
    }

    public float getWeight() {
        return weight;
    }

    public String getColor() {
        return color;
    }
}
